package com.school.vaccination.service.impl;

import com.school.vaccination.domain.Vaccine;
import com.school.vaccination.mapper.VaccineMapper;
import com.school.vaccination.service.VaccineService;
import zhibi.common.support.base.service.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
* The class create by 执笔 on generate.
*/
@Service
@Transactional
public class VaccineServiceImpl extends BaseServiceImpl<Vaccine> implements VaccineService {

    @Autowired
    public VaccineServiceImpl(VaccineMapper mapper) {
        super(mapper);
        this.vaccineMapper = mapper;
    }
    private VaccineMapper vaccineMapper;

    @Override
    public Integer updateStatusByDate() {
        return vaccineMapper.updateStatusByDate();
    }
}